//
//  EditLoginTableViewCell.m
//  PerfectWorld
//
//  Created by dllo on 16/9/23.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "EditLoginTableViewCell.h"

@implementation EditLoginTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.editBtn = [[UILabel alloc] initWithFrame:CGRectZero];
        _editBtn.backgroundColor = [UIColor whiteColor];
        _editBtn.text = @"退出登录";
        _editBtn.textColor = [UIColor redColor];
        _editBtn.textAlignment = 1;
         [self.contentView addSubview:_editBtn];
           }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _editBtn.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
}
@end
